<template>
  <div>111111111111111111111111</div>
</template>

<script>
import qs from 'qs'
export default {
  data() {
    return {};
  },

  methods: {
    getloginsess() {
      this.axios
        .post(
          "login/viplogin.php",
          qs.stringify({
            xhrFields: {
              withCredentials: true
            }
          })
        )
        .then(res => {
          console.log(res);
          if (res.data.code == 300) {
            //  location.href="/error"
          } else {
            //  location.href="/"
          }
        });
    }
  },

  created() {
    this.getloginsess();
  }
};
</script>

<style lang='less'>
</style>
